package com.jl.smartcard.core;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;

public class Logger {
	public static void logInfomation(final String str) {
		ActivatorCore.getDefault().getLog()
				.log(new Status(IStatus.INFO, ActivatorCore.PLUGIN_ID, str));
	}

	public static void logException(final Throwable t) {
		ActivatorCore
				.getDefault()
				.getLog()
				.log(new Status(IStatus.INFO, ActivatorCore.PLUGIN_ID, t
						.getLocalizedMessage(), t));
	}
}
